<template>
  <div class="Publish">
    <div class="swipebox">
      <van-swipe :autoplay="3000" class="image">
        <van-swipe-item v-for="(image, index) in images" :key="index">
          <img :src="image" />
        </van-swipe-item>
      </van-swipe>
    </div>
    <div class="entrance">
        <div>
            <img src="../../assets/images/狗狗@2x.png" alt="">
            <div>
                <h3>我要送养</h3>
                <p>领养从真诚开始</p>
                <button @click="$router.push({name:'ForAdoption'})">发布</button>
            </div>
        </div>
        <div>
            <img src="../../assets/images/猫猫@2x.png" alt="">
            <div>
                <h3>送养攻略</h3>
                <p>发布-审核-签协议</p>
                <button>查看</button>
            </div>
        </div>
    </div>
  </div>
</template>

<script src="./Publish.js"></script>
<style lang="scss">
@import "./Publish.scss";
</style>